package org.makcro.sms.services.chat.web.client.widgets.bulk;

import com.extjs.gxt.ui.client.widget.menu.Menu;
import com.extjs.gxt.ui.client.widget.menu.MenuItem;

public class BulkContextMenu extends Menu {
	private MenuItem	sendBulkMenuItem;
	private MenuItem	sendBulkWithCurrentTextMenuItem;

	public BulkContextMenu() {
		setWidth( 150 );
		add( getSendBulkMenuItem() );
		add( getSendBulkWithCurrentTextMenuItem() );
		setWidth( 250 );
	}

	public MenuItem getSendBulkMenuItem() {
		if (this.sendBulkMenuItem == null) {
			this.sendBulkMenuItem = new MenuItem();
			this.sendBulkMenuItem.setText( "Posalji bulk poruku" );
		}
		return sendBulkMenuItem;
	}

	public MenuItem getSendBulkWithCurrentTextMenuItem() {
		if (this.sendBulkWithCurrentTextMenuItem == null) {
			this.sendBulkWithCurrentTextMenuItem = new MenuItem( "Posalji bulk poruku sa ovim tekstom" );
		}
		return sendBulkWithCurrentTextMenuItem;
	}

}
